package com.luckku.boot.service;

import com.luckku.boot.entity.Admin;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Luckku
 * @since 2022-10-09
 */
public interface AdminService extends IService<Admin> {

    /**
     * 注册功能
     * @param admin Admin
     * @return 注册对象
     */
    Admin executeRegister(Admin admin);

    Map<String, String> executeLogin(Admin admin);
}
